home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
sources
/
xbmbrows
/
xbmbro31.z
/
xbmbro31
/
xbmbrowser3.1
/
Imakefile
< prev
next >
Wrap
Makefile
|
1993-08-05
|
1KB
|
30 lines
PROGNAME = xbmbrowser
BROWSERDIR = $(LIBDIR)$(PATHSEP)$(PROGNAME)
HELPFILE = -DHELPFILE=\"$(BROWSERDIR)$(PATHSEP)$(PROGNAME).help\"
DEFAULT_RC_FILE = -DDEFAULT_RC_FILE=\"$(BROWSERDIR)$(PATHSEP)$(PROGNAME).menu\"
HOME_DIR_FILE = -DHOME_DIR_FILE=\".$(PROGNAME)rc\"
XPM_INC = -I/usr/local/include
XPM_LIB = -L$(LIBDIR)/xpm -lXpm
# comment out the following if you do not wish to include xpm browsing
DO_XPMS = -DDO_XPMS
# CDEBUGFLAGS = -g
CDEBUGFLAGS = -O -DNDEBUG
#ifdef HPArchitecture
CCOPTIONS = -Aa -D_HPUX_SOURCE
#endif
DEFINES = $(HELPFILE) $(DEFAULT_RC_FILE) $(HOME_DIR_FILE) $(DO_XPMS) $(XPM_INC)
DEPLIBS = XawClientDepLibs
LOCAL_LIBRARIES = $(XPM_LIB) XawClientLibs
SRCS = xbmbrowser.c bitmaps.c callbacks.c misc.c user-menu.c
OBJS = xbmbrowser.o bitmaps.o callbacks.o misc.o user-menu.o
ComplexProgramTarget(xbmbrowser)
MakeDirectories(install,$(BROWSERDIR))
InstallNonExec($(PROGNAME).help,$(BROWSERDIR))
InstallNonExec($(PROGNAME).menu,$(BROWSERDIR))
InstallAppDefaults(XbmBrowser-color)